package com.adv.ems.model.dto;

import lombok.Data;

@Data
public class TablePartitionInfoDTO {
    private String table;
    private String type;
    private String value;

    public boolean validate() {
        return table != null && type != null && value != null;
    }

    @Data
    public static class PartitionKey {
        private String name;
        private String lessValue;
    }
}
